const app = {
  state: {
    name: 'Default',
    logo: 'logo.png',
    footer: '© 2019 - 2020 Default. ALL RIGHTS RESERVED. V0.0.3',
    mobile: false,
    collapsed: false
  },
  getters: {
    GetCollapsed (state) {
      return state.collapsed
    }
  },
  mutations: {
    TOGGLE_COLLAPSED (state) {
      state.collapsed = !state.collapsed
    },
    TOGGLE_MOBILE (state, bool) {
      state.mobile = bool
    }
  },
  actions: {
    ToggleCollapsed ({ commit }, bool) {
      commit('TOGGLE_COLLAPSED', bool)
    },
    ToggleMobile ({ commit }, bool) {
      commit('TOGGLE_MOBILE', bool)
    }
  }
}
export default app
